<?php
declare (strict_types = 1);

namespace app\home\controller;

use app\common\controller\Frontend;
use think\facade\Db;
use think\facade\View;


class Search extends Frontend
{
    public function initialize()
    {
        parent::initialize();
    }

    public function index() {
        $searchword = request()->param('searchword')?request()->param('searchword'):'';
        $searchword = urldecode($searchword);
        View::assign('searchword', $searchword);
        return \view();
    }


}